namespace MarkovCompare
{
    public class Pair<ElementOne, ElementTwo>
    {
        private ElementOne e1;
        private ElementTwo e2;
        public Pair(ElementOne value1, ElementTwo value2)
        {
            e1 = value1;
            e2 = value2;
        }

        public ElementOne First
        {
            get
            {
                return e1;
            }
        }

        public ElementTwo Second
        {
            get
            {
                return e2;
            }
        }

        public override string ToString()
        {
            return "<" + First + ", " + Second + ">";
        }
    }
}